import Vue from 'vue';
Vue.mixin({
	data() {
		return {
			buttonClicked: false,
		}
	},
	methods: {
		//防抖防重复点击
		cancelBounce() {
			if(!this.buttonClicked){
				this.buttonClicked=true
				setTimeout(() => {
					this.buttonClicked = false
				}, 500)
				return true
			}else{
				return false
			}
			
		},
	}
})
